package com.lst.tools.wx.smallroutine.vo;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: Frank
 * @date: 2019/09/24 13:51
 * @version: V1.0
 */
@Data
public class SmallRoutineQRCodeParam {
    private String scene;
    private String page;
    private int width;
    private boolean auto_color;
    private Map<String, Object> line_color;

    public SmallRoutineQRCodeParam() {
        super();
        width = 430;
        auto_color = false;
        line_color = new HashMap<>();
        line_color.put("r", 0);
        line_color.put("g", 0);
        line_color.put("b", 0);
    }

    public SmallRoutineQRCodeParam(String extensionNo, String path) {
        this();
        this.scene = extensionNo;
        this.page = path;
    }
}
